package com.yf.stat.modules.exam.dto;


import com.yf.ability.excel.annotation.ExcelField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
* <p>
* 考试总体统计数据传输类
* </p>
*
* @author 聪明笨狗
* @since 2020-09-11 11:10
*/
@Data
@ApiModel(value="用户统计", description="考试总体统计")
public class StatExamUserDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "ID", required=true)
    private String id;

    @ApiModelProperty(value = "考试ID", required=true)
    private String examId;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ExcelField(title = "用户名")
    @ApiModelProperty(value = "用户名")
    private String userName;

    @ExcelField(title = "姓名")
    @ApiModelProperty(value = "姓名")
    private String realName;

    @ExcelField(title = "考试次数", sort = 1)
    @ApiModelProperty(value = "考试次数")
    private Integer examCount;

    @ExcelField(title = "最高分数", sort = 2)
    @ApiModelProperty(value = "最高分数")
    private BigDecimal maxScore;

    @ExcelField(title = "最新成绩", sort = 2)
    @ApiModelProperty(value = "最新成绩")
    private BigDecimal newScore;

    @ExcelField(title = "是否通过", sort = 3, filter = "true=通过,false=未通过")
    @ApiModelProperty(value = "是否通过")
    private Boolean passed;

    @ExcelField(title = "最新时间",sort = 4)
    @ApiModelProperty(value = "最新时间")
    private String updateTime;


}
